package edu.sctu.xiangkun.day201505.day20150506;
import java.util.Scanner;
/**
 * Created by user21 on 2015/5/6.
 */
public class Compare {
    public static void figure() {
    Scanner input = new Scanner(System.in);
        double num1;
        double num2;
        num1 = input.nextDouble();
        num2 = input.nextDouble();

        System.out.println("Math.max(num1,num2)="+Math.max(num1,num2));
        System.out.println("Math.min(num1,num2)="+Math.min(num1,num2));

    }
    public static void main(String[] args){
        Compare compare = new Compare();
        compare.figure();
    }
}
